package cn.edu.scau.cmi.linyiqu.client;

import cn.edu.scau.cmi.linyiqu.adapter.Controller;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AdapterClient extends Application {
	public static void main(String[] args)
	{
		launch(args);
	}
	
	@Override
	public void start(Stage primaryStage) throws Exception {
		FXMLLoader fxmlLoader = new FXMLLoader(
				getClass().getResource("/cn/edu/scau/cmi/linyiqu/adapter/UI.fxml"));
		Parent root = fxmlLoader.load();
		primaryStage.setTitle("Adapter Client");
		primaryStage.setResizable(false);
		primaryStage.setScene(new Scene(root));
		Controller controller = fxmlLoader.getController();
		controller.init();
		primaryStage.show();
	}

}
